<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>phc -- the open source PHP compiler</title>
		<link rel="stylesheet" type="text/css" href="phc.css">
	</head>
	<body>
		<table width="100%" cellpadding="0" cellspacing="0">
		<tr>
			<td class=grey><img src="img/header.png" alt="phc logo"></td>
		</tr>
		<tr>
			<td class=linkbar>
				<a href="index.html">Home</a> | 
				<a href="downloads.html">Download <span class=phc>phc</span></a> | 
				<a href="documentation.html">Documentation</a> | 
				<a href="contribute.html">Developers and Contributors</a> |
				<a href="mailinglist.html">Mailing List</a> |
			</td>
		</tr>
		</table>
		<table class=maintable>
		<tr>
			<td valign="top">
        <h1>Latest News <small><a href="news.html">(older news)</a></small></h1>

				<p><i><a href="news.html#2011oct23">23 October 2011</a></i>.
          				<span class="phc">phc</span> version
					<a href="downloads.html">0.3.0.1</a>
					(<a href="src/ChangeLog">ChangeLog</a>) has been released. It
					fixes a packaging error in version 0.3.0.
        </p>
        
				<p><i><a href="news.html#2011sep20">20 September 2011</a></i>.
          				<span class="phc">phc</span> version
					<a href="downloads.html">0.3.0</a>
					(<a href="src/ChangeLog">ChangeLog</a>) has been released.
        </p>
        
				<p><i><a href="news.html#2010sep22">22 September 2010</a></i>.
          <span class="phc">phc</span> version 0.2.0.3 is deprecated, do not use
          it. Use
          <a href="http://code.google.com/p/phc/source/checkout">svn trunk</a>
          instead.
        </p>

				<p><i><a href="news.html#2010sep21">21 September 2010</a></i>.
          We have merged the dataflow branch into trunk, providing
          optimization to your compiled code. We are planning a release with
          this in the near future. Try <a
            href="http://code.google.com/p/phc/source/checkout">svn trunk</a>
          to test it out.
        </p>


				<p><i><a href="news.html#2009feb15">15 February 2009</a></i>.
					<span class="phc">phc</span> version
					<a href="downloads.html">0.2.0.3</a>
					(<a href="src/ChangeLog">ChangeLog</a>) has been released.  It
					resolved a packaging error in version 0.2.0.2 which prevented
					<span class="phc">phc</span> from building if the PHP embed SAPI
					was not used. We also repackaged 0.2.0.2 to fix the problem.
				</p>


				<h1>What is <span class="phc">phc</span>?</h1>

				<p><span class="phc">phc</span> is an open source compiler for PHP
				with support for plugins. In addition, it can be used to
				pretty-print or obfuscate PHP code, as a framework for developing
				applications that process PHP scripts, or to convert PHP into XML
				and back, enabling processing of PHP scripts using XML tools.</p>

				<p><span class="phc">phc</span> for PHP programmers (See <a
				href="doc/latest/manual.html">Manual</a>):
				</p>
					<ul>
						<li>Compile PHP source into an (optimized) executable (supports entire PHP standard library).</li>
						<li>Compile a web application into an (optimized) extension (supports entire PHP standard library).</li>
						<li>Pretty-print PHP code.</li>
						<li>Obfuscate PHP code <i>(--obfuscate flag - experimental)</i>.</li>
						<li>Combine many php scripts into a single file <i>(--include flag - experimental)</i>.</li>
						<li>Optimize PHP code using classical compiler optimizations
						(<i>in the <a
						href="http://code.google.com/p/phc/source/browse/branches/dataflow">dataflow</a>
						branch - very experimental</i>).</li>
					</ul>

				<p><span class="phc">phc</span> for tools developers (See <a
				href="contribute.html">Developers and Contributors</a>):
				</p>
					<ul>
						<li>Analyse, modify or refactor PHP scripts using C++ plugins.</li>
						<li>Convert PHP into a well-defined XML format, process it
						with your own tools, and convert it back to PHP.</li>
						<li>Operate on ASTs, simplified ASTs, or 3-address code.</li>
						<li>Analyse or optimize PHP code using an SSA-based IR (<i>in
						the <a
						href="http://code.google.com/p/phc/source/browse/branches/dataflow">dataflow</a>
						branch - very experimental</i>).</li>
					</ul>

		
			</td>
			<td width="40%" valign="top">
				<div class="svn">
					<h1>Recent project activity:</h1>

					<?php include("lastsvnlog.html") ?>
				</div>
			</td>
		</tr>
		</table>
		<table class=linkbar>
			<tr><td>$LastChangedDate: 2011-10-23 10:21:20 +0000 (Sun, 23 Oct 2011) $.</td></tr>
		</table>
		<script type="text/javascript">
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script type="text/javascript">
			var pageTracker = _gat._getTracker("UA-1942036-1");
			pageTracker._trackPageview();
		</script>
	</body>
</html>
